package com.youlai.boot.modules.accounts.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.modules.accounts.model.entity.PlatformAccount;
import com.youlai.boot.modules.accounts.model.form.PlatformAccountForm;

/**
 * 账户明细对象转换器
 *
 * @author lz0816
 * @since 2025-05-23 15:57
 */
@Mapper(componentModel = "spring")
public interface PlatformAccountConverter{

    PlatformAccountForm toForm(PlatformAccount entity);

    PlatformAccount toEntity(PlatformAccountForm formData);
}